package com.example.natatorium_management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.natatorium_management.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface UserMapper extends BaseMapper<User> {
    List<User> findAll();
//====================================================================================================================================

    User logon(User user);

    User registerFirst(User user);

    int registerSecond(User user);

    int updatePassword(User user);

}
